package ch.zbw.timeline.client.ui;

import java.util.List;

import ch.zbw.timeline.server.domain.Role;

public interface ClientView {

	public void addEventListener(EventListener listener);
	
	public void showError(String title, String message);
	
	public void setConnected(boolean connected);
	
	public void showLoginForm();
	
	public void setLoginRoles(List<Role> roles);
	
	public String getLoginUserName();
	
	public String getLoginPassword();

	public Role getLoginRole();
	
}
